package designmode.strategy;

/**
 * Created by Administrator on 2017/10/28 028.
 */
public class GreenDuck extends Duck
{
    @Override
    protected FlyBehavior getFlyBehavior()
    {
        return new WingsFly();
    }

    @Override
    protected Tweetbehavior getTweetBehavior()
    {
        return new WhisperTweet();
    }
}
